<template>
  <div>
    <el-card class="box-card">
      <div slot="header" class="clearfix">
        <div class="header">
          <span>线上热门搜索</span>

          <el-dropdown>
            <span class="el-dropdown-link">
              <i class="el-icon-more"></i>
            </span>
            <el-dropdown-menu slot="dropdown">
              <el-dropdown-item>黄金糕</el-dropdown-item>
              <el-dropdown-item>狮子头</el-dropdown-item>
              <el-dropdown-item>螺蛳粉</el-dropdown-item>
              <el-dropdown-item>双皮奶</el-dropdown-item>
              <el-dropdown-item>蚵仔煎</el-dropdown-item>
            </el-dropdown-menu>
          </el-dropdown>
        </div>
      </div>
      <div class="container">
        <el-row>
          <el-col :span="12">
            <lineVue>
              <template slot="main">
                <p>12312</p>
                <span>17.1 <i class="el-icon-caret-top"></i></span>
              </template>
            </lineVue>
          </el-col>
          <el-col :span="12">
            <lineVue>
              <template slot="main">
                <p>12312</p>
                <span>17.1 <i class="el-icon-caret-bottom"></i></span>
              </template>
            </lineVue>
          </el-col>
        </el-row>
      </div>
    </el-card>
  </div>
</template>

<script>
import lineVue from "./linecharts/index.vue";
export default {
  components: { lineVue },
};
</script>

<style lang="scss" scoped>
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>
